Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging documentation and provide example Logback config for logging in JSON format #2933

Merged
merged 3 commits into from
Aug 14, 2023

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Aug 4, 2023

Description

With stevespringett/Alpine#503, Alpine is capable to write logs in JSON format.

This PR adds an example Logback configuration to make use of this capability, together with accompanying documentation.

Addressed Issue

Closes #2517

Additional Details

N/A

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@nscuro nscuro added the documentation Improvements or additions to documentation label Aug 4, 2023
@nscuro nscuro merged commit 8c722bf into DependencyTrack:master Aug 14, 2023
7 checks passed
@nscuro nscuro deleted the logging-docs branch August 14, 2023 20:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add config option to log in json format
1 participant